  /**
   * Generate time : 2016-03-28 11:23:13
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.cc.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCCProduceproblemReview 
 * table comment : 生产问题复查记录 
 */
public class ZMCCProduceproblemReview extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdRecordId = " ";		/* 生产问题记录ID*/
	private String fdRecordHandleId = " ";		/* 生产问题处理ID*/
	private String fdRecordModifyId = " ";		/* 生产问题整改ID*/
	private String fdRecheckerDepartmentId = " ";		/* 复查部门ID*/
	private String fdRecheckerDepartment = " ";		/* 复查部门*/
	private String fdRecheckDate = " ";		/* 复查日期*/
	private String fdCondition = " ";		/* 复查情况描述*/
	private String fdRecheckPeopleId = " ";		/* 复查人ID*/
	private String fdRecheckPeople = " ";		/* 复查人*/
	private String fdIsRedo = "否";		/* 是否重新整改*/
	private String fdRedoSuggestion = " ";		/* 重新整改意见*/
	private String fdCreateTime = " ";		/* 创建时间*/
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecordId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("生产问题记录ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecordHandleId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("生产问题处理ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecordModifyId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("生产问题整改ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecheckerDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("复查部门ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecheckerDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("复查部门");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecheckDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("复查日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCondition");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("复查情况描述");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecheckPeopleId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("复查人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecheckPeople");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("复查人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdIsRedo");
	eiColumn.setFieldLength(5);	
	eiColumn.setDescName("是否重新整改");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRedoSuggestion");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("重新整改意见");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCreateTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("创建时间");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCCProduceproblemReview() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdRecordId - 生产问题记录ID
	 * @return the fdRecordId
	 */
	public String getFdRecordId() {
		return this.fdRecordId;
	}
	
	/**
	 * set the fdRecordId - 生产问题记录ID
	 */
	public void setFdRecordId(String fdRecordId) {
		this.fdRecordId = fdRecordId;
	}
	/**
	 * get the fdRecordHandleId - 生产问题处理ID
	 * @return the fdRecordHandleId
	 */
	public String getFdRecordHandleId() {
		return this.fdRecordHandleId;
	}
	
	/**
	 * set the fdRecordHandleId - 生产问题处理ID
	 */
	public void setFdRecordHandleId(String fdRecordHandleId) {
		this.fdRecordHandleId = fdRecordHandleId;
	}
	/**
	 * get the fdRecordModifyId - 生产问题整改ID
	 * @return the fdRecordModifyId
	 */
	public String getFdRecordModifyId() {
		return this.fdRecordModifyId;
	}
	
	/**
	 * set the fdRecordModifyId - 生产问题整改ID
	 */
	public void setFdRecordModifyId(String fdRecordModifyId) {
		this.fdRecordModifyId = fdRecordModifyId;
	}
	/**
	 * get the fdRecheckerDepartmentId - 复查部门ID
	 * @return the fdRecheckerDepartmentId
	 */
	public String getFdRecheckerDepartmentId() {
		return this.fdRecheckerDepartmentId;
	}
	
	/**
	 * set the fdRecheckerDepartmentId - 复查部门ID
	 */
	public void setFdRecheckerDepartmentId(String fdRecheckerDepartmentId) {
		this.fdRecheckerDepartmentId = fdRecheckerDepartmentId;
	}
	/**
	 * get the fdRecheckerDepartment - 复查部门
	 * @return the fdRecheckerDepartment
	 */
	public String getFdRecheckerDepartment() {
		return this.fdRecheckerDepartment;
	}
	
	/**
	 * set the fdRecheckerDepartment - 复查部门
	 */
	public void setFdRecheckerDepartment(String fdRecheckerDepartment) {
		this.fdRecheckerDepartment = fdRecheckerDepartment;
	}
	/**
	 * get the fdRecheckDate - 复查日期
	 * @return the fdRecheckDate
	 */
	public String getFdRecheckDate() {
		return this.fdRecheckDate;
	}
	
	/**
	 * set the fdRecheckDate - 复查日期
	 */
	public void setFdRecheckDate(String fdRecheckDate) {
		this.fdRecheckDate = fdRecheckDate;
	}
	/**
	 * get the fdCondition - 复查情况描述
	 * @return the fdCondition
	 */
	public String getFdCondition() {
		return this.fdCondition;
	}
	
	/**
	 * set the fdCondition - 复查情况描述
	 */
	public void setFdCondition(String fdCondition) {
		this.fdCondition = fdCondition;
	}
	/**
	 * get the fdRecheckPeopleId - 复查人ID
	 * @return the fdRecheckPeopleId
	 */
	public String getFdRecheckPeopleId() {
		return this.fdRecheckPeopleId;
	}
	
	/**
	 * set the fdRecheckPeopleId - 复查人ID
	 */
	public void setFdRecheckPeopleId(String fdRecheckPeopleId) {
		this.fdRecheckPeopleId = fdRecheckPeopleId;
	}
	/**
	 * get the fdRecheckPeople - 复查人
	 * @return the fdRecheckPeople
	 */
	public String getFdRecheckPeople() {
		return this.fdRecheckPeople;
	}
	
	/**
	 * set the fdRecheckPeople - 复查人
	 */
	public void setFdRecheckPeople(String fdRecheckPeople) {
		this.fdRecheckPeople = fdRecheckPeople;
	}
	/**
	 * get the fdIsRedo - 是否重新整改
	 * @return the fdIsRedo
	 */
	public String getFdIsRedo() {
		return this.fdIsRedo;
	}
	
	/**
	 * set the fdIsRedo - 是否重新整改
	 */
	public void setFdIsRedo(String fdIsRedo) {
		this.fdIsRedo = fdIsRedo;
	}
	/**
	 * get the fdRedoSuggestion - 重新整改意见
	 * @return the fdRedoSuggestion
	 */
	public String getFdRedoSuggestion() {
		return this.fdRedoSuggestion;
	}
	
	/**
	 * set the fdRedoSuggestion - 重新整改意见
	 */
	public void setFdRedoSuggestion(String fdRedoSuggestion) {
		this.fdRedoSuggestion = fdRedoSuggestion;
	}
	/**
	 * get the fdCreateTime - 创建时间
	 * @return the fdCreateTime
	 */
	public String getFdCreateTime() {
		return this.fdCreateTime;
	}
	
	/**
	 * set the fdCreateTime - 创建时间
	 */
	public void setFdCreateTime(String fdCreateTime) {
		this.fdCreateTime = fdCreateTime;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdRecordId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecordId")), fdRecordId));
		setFdRecordHandleId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecordHandleId")), fdRecordHandleId));
		setFdRecordModifyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecordModifyId")), fdRecordModifyId));
		setFdRecheckerDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecheckerDepartmentId")), fdRecheckerDepartmentId));
		setFdRecheckerDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecheckerDepartment")), fdRecheckerDepartment));
		setFdRecheckDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecheckDate")), fdRecheckDate));
		setFdCondition(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCondition")), fdCondition));
		setFdRecheckPeopleId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecheckPeopleId")), fdRecheckPeopleId));
		setFdRecheckPeople(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecheckPeople")), fdRecheckPeople));
		setFdIsRedo(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdIsRedo")), fdIsRedo));
		setFdRedoSuggestion(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRedoSuggestion")), fdRedoSuggestion));
		setFdCreateTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCreateTime")), fdCreateTime));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdRecordId",StringUtils.toString(fdRecordId, eiMetadata.getMeta("fdRecordId")));	
			map.put("fdRecordHandleId",StringUtils.toString(fdRecordHandleId, eiMetadata.getMeta("fdRecordHandleId")));	
			map.put("fdRecordModifyId",StringUtils.toString(fdRecordModifyId, eiMetadata.getMeta("fdRecordModifyId")));	
			map.put("fdRecheckerDepartmentId",StringUtils.toString(fdRecheckerDepartmentId, eiMetadata.getMeta("fdRecheckerDepartmentId")));	
			map.put("fdRecheckerDepartment",StringUtils.toString(fdRecheckerDepartment, eiMetadata.getMeta("fdRecheckerDepartment")));	
			map.put("fdRecheckDate",StringUtils.toString(fdRecheckDate, eiMetadata.getMeta("fdRecheckDate")));	
			map.put("fdCondition",StringUtils.toString(fdCondition, eiMetadata.getMeta("fdCondition")));	
			map.put("fdRecheckPeopleId",StringUtils.toString(fdRecheckPeopleId, eiMetadata.getMeta("fdRecheckPeopleId")));	
			map.put("fdRecheckPeople",StringUtils.toString(fdRecheckPeople, eiMetadata.getMeta("fdRecheckPeople")));	
			map.put("fdIsRedo",StringUtils.toString(fdIsRedo, eiMetadata.getMeta("fdIsRedo")));	
			map.put("fdRedoSuggestion",StringUtils.toString(fdRedoSuggestion, eiMetadata.getMeta("fdRedoSuggestion")));	
			map.put("fdCreateTime",StringUtils.toString(fdCreateTime, eiMetadata.getMeta("fdCreateTime")));	
			
		return map;
	
	}
}